package com.factory._15chain.example;

/**
 * @author Qinye
 * @date 2023/8/13 17:23
 */
public abstract class Approver {
    Approver next;
    String name;

    public Approver(String name) {
        this.name = name;
    }

    public abstract void processRequest(ApproverRequest approverRequest);

    public void setApprover(Approver approver) {
        this.next = approver;
    }
}
